/*
@author https://yunp.top
 */

@file:JsModule("three")

package three

open external class Color {
    constructor(r: Float, g: Float, b: Float)
    constructor(color: String)
    constructor(colorHex: Long)

    val isColor: Boolean

    var r: Float
    var g: Float
    var b: Float

    fun setHex(hex: Int, colorSpace: String = definedExternally)
}